You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
filippodb
changed the title
search actiyvitipub returns irrelevant message results from flipboard.com
searching "actiyvitipub" on mastodon will returns irrelevant message results from flipboard.com
May 14, 2024
filippodb
changed the title
searching "actiyvitipub" on mastodon will returns irrelevant message results from flipboard.com
searching "actiyvitipub" on mastodon will return irrelevant message results from flipboard.com
May 14, 2024
renchap
changed the title
searching "actiyvitipub" on mastodon will return irrelevant message results from flipboard.com
searching "activitypub" on mastodon will return irrelevant message results from flipboard.com
May 14, 2024
Thanks for your report, I have been able to reproduce it. I suspect this comes from the link included in the message, as it contains "activitypub". Maybe our tokeniser when indexing into ES is splitting the URLs into separate tokens?
For example such a link is https://techspot.com/news/102598-avast-free-antivirus-testing-features-learning-about-six.html?utm_source=flipboard&utm_medium=activitypub, and Flipboard adds the UTM parameters to every link.
I think that you are going to have to strip urls from plain text if you don't want them to be stemmed
Note that this will also happen if you search for amp. You will end up with every result that has more than one query parameter as they are encoded as & in the text. The standard tokenizer is going to index all of these under amp
Steps to reproduce the problem
1.search: "activitypub"
Expected behaviour
A full list of english articles about activitypub
Actual behaviour
random unrelated messages from flipboard.com
Detailed description
on mastodon.uno & mastodon.social when searching:
activitypub language:EN
it shows countless unrelated posts from flipboard.com!!
Mastodon instance
Mastodon.social
Mastodon version
v4.3
Browser name and version
Brave
Operating system
linux Fedora
Technical details
it happen also searching on other languages:
activitypub language:IT
The text was updated successfully, but these errors were encountered: